﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace MicropleSoft.Controls.QueryControls
{
    public partial class QueryItemBase : DevExpress.XtraEditors.XtraUserControl
    {
        public QueryItemBase()
        {
            PQueryItemType = QueryItemType.String;
            FieldName = "";
            InitializeComponent();
        }

        public virtual string GetItemCondition()
        {
            return " and 1=1 ";
        }

        public string FieldName { get; set; }

        public QueryItemType PQueryItemType { get; set; }
    }
}
